package com.example.opengllearn

import android.content.Context
import android.opengl.GLSurfaceView
import android.util.AttributeSet

class MyGLSurfaceView(context: Context) : GLSurfaceView(context) {
    private var render: MyGlRender = MyGlRender()

    init {
        setEGLContextClientVersion(2)
        setRenderer(render)
        renderMode = RENDERMODE_CONTINUOUSLY
    }
}
